package com.ruoyi.project.countrybus.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 车辆信息对象 sys_vehicle
 * 
 * @author yangwenbo
 * @date 2022-04-05
 */
public class SysVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 车辆名字 */
    @Excel(name = "车辆名字")
    private String vehicleName;

    /** 牌照信息 */
    @Excel(name = "牌照信息")
    private String licenseTag;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String color;

    /** 照片地址 */
    private String avatar;

    /** 车辆状态（0未出发 1已出发 2已到达） */
    @Excel(name = "车辆状态", readConverterExp = "0=未出发,1=已出发,2=已到达")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 车载人数 */
    @Excel(name = "车载人数")
    private Long loadNumber;

    /** 当前载人 */
    @Excel(name = "当前载人")
    private Long aboardNumber;

    /** 车辆纬度坐标 */
    @Excel(name = "车辆纬度坐标")
    private BigDecimal latitude;

    /** 车辆经度坐标 */
    @Excel(name = "车辆经度坐标")
    private BigDecimal longitude;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setVehicleName(String vehicleName) 
    {
        this.vehicleName = vehicleName;
    }

    public String getVehicleName() 
    {
        return vehicleName;
    }
    public void setLicenseTag(String licenseTag) 
    {
        this.licenseTag = licenseTag;
    }

    public String getLicenseTag() 
    {
        return licenseTag;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setLoadNumber(Long loadNumber) 
    {
        this.loadNumber = loadNumber;
    }

    public Long getLoadNumber() 
    {
        return loadNumber;
    }
    public void setAboardNumber(Long aboardNumber) 
    {
        this.aboardNumber = aboardNumber;
    }

    public Long getAboardNumber() 
    {
        return aboardNumber;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("driverId", getDriverId())
            .append("vehicleName", getVehicleName())
            .append("licenseTag", getLicenseTag())
            .append("color", getColor())
            .append("avatar", getAvatar())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("loadNumber", getLoadNumber())
            .append("aboardNumber", getAboardNumber())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .toString();
    }
}
